package com.letu.aopcache.util;

import com.letu.aopcache.model.CacheKeyTO;
import com.letu.aopcache.model.CacheWrapper;
import lombok.Data;

/**
 * 缓存key和值 的set类
 */
@Data
public class MSetParam {

    private CacheKeyTO cacheKey;

    private CacheWrapper<Object> result;

    public MSetParam(CacheKeyTO cacheKey, CacheWrapper<Object> result) {
        this.cacheKey = cacheKey;
        this.result = result;
    }
}
